package net.learn.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.learn.framework.common.page.PageResult;
import net.learn.system.entity.SysRadioDetailEntity;
import net.learn.system.entity.SysRadioEntity;
import net.learn.system.query.SysRadioDetailQuery;
import net.learn.system.query.SysRadioQuery;
import net.learn.system.vo.SysRadioDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-01-11
 */
@Mapper
public interface SysRadioDetailDao extends BaseMapper<SysRadioDetailEntity> {

    IPage<SysRadioDetailEntity> qryRadioDetailListPage(IPage<SysRadioDetailEntity> page, @Param("query") SysRadioDetailQuery query);

    List<SysRadioDetailVO> qryPaperRadioList(SysRadioDetailQuery qry);

    List<SysRadioDetailVO> getRadioDetailArray();

    List<SysRadioDetailVO> qryPaperRadioCondition(SysRadioDetailQuery qry);
}
